package com.gosophia.conferenceManagement.starting.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;

import com.gosophia.conferenceManagement.starting.dao.ConferenceStartingDAO;
import com.gosophia.conferenceManagement.starting.entity.ConferenceApplicationJobData;
import com.gosophia.conferenceManagement.starting.service.ConferenceStartingService;

/**
 * 会议发起-最新申请信息查询实现
 * 
 * @author tianchunyu
 */
@Service
public class ConferenceStartingServiceImpl implements ConferenceStartingService {

	@Autowired
	private ConferenceStartingDAO conferenceStartingDAO;

	@Override
	public ConferenceApplicationJobData getNewApplicationJobData(Long missionId) {
		Assert.isTrue(missionId!=null,"任务id不能为null");
		return conferenceStartingDAO
				.getNewConferenceApplicationJobData(missionId);
	}

}
